package com.meiqiongproperty.yiguanjia.httpbean.shopping;

/**
 * author: Administrator
 * date: 2017/6/13.
 * package:com.meiqiongproperty.yiguanjia.httpbean.shopping
 */

public class OrderSubmitBean {

    /**
     * order : {"Id":"P636315820321787520ACZ","PropertyId":3,"HousesId":3,"BuildsId":12,"BuildRoomId":3,"PropertyUserId":"","Address":"上海上海长宁区古北路1157号1栋123","UsersId":12,"UserPhone":"13762093522","OrderTitle":"商品订单:P636315820321787520ACZ","OrderPrice":6708,"DeliverType":"1","PayMethod":"1"}
     * parameter : {"status":true,"parameter":"alipay_sdk=lokielse%2Fomnipay-alipay&app_id=2017042606980698&biz_content=%7B%22subject%22%3A%22%5Cu5546%5Cu54c1%5Cu8ba2%5Cu5355%3AP636315820321787520ACZ%22%2C%22out_trade_no%22%3A%22P636315820321787520ACZ%22%2C%22total_amount%22%3A6708%2C%22passback_params%22%3A%22QXBwXE1vZGVsc1xCdXNpbmVzc09yZGVy%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=JSON&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fgj.cn%2Fapp%2FalipayNotify&sign_type=RSA2&timestamp=2017-05-26+23%3A27%3A12&version=1.0&sign=d0ioXzOvuU8Wd9Sbn6vGrsIyrpQPmdmPwOpdgawlZH4UvqTYJp16i2TqOI2HsEY%2FAoqEzJIAnq9MfgyRWQtRSgsUh2C1qIDwGuzx6nJ5Rt9DacIS5%2FPeqZUAVECxisnOE8A73HRf1CZDpQjNRR0KNZiIkf9k5SwJOmMkPn7R9cuTfTmulu%2FUhRraQ%2BkXE9wLN8%2BVDUUcAXYMzo2U6Jz8UBLBn3lgaHm5g3O7dSZqq3dHlN0Vskbhwb5FRKE3hRn0Ek%2F14xTbkbyTzkIzWFcxE4BT0z%2B4U8BvgRwWqQUWle2vjtOYMg%2FZZbQ0cI2VAquMYW%2BQ%2FPWHihuccDTecj1jzw%3D%3D"}
     */

    private OrderBean order;
    private ParameterBean parameter;

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public ParameterBean getParameter() {
        return parameter;
    }

    public void setParameter(ParameterBean parameter) {
        this.parameter = parameter;
    }

    public static class OrderBean {
        /**
         * Id : P636315820321787520ACZ
         * PropertyId : 3
         * HousesId : 3
         * BuildsId : 12
         * BuildRoomId : 3
         * PropertyUserId :
         * Address : 上海上海长宁区古北路1157号1栋123
         * UsersId : 12
         * UserPhone : 13762093522
         * OrderTitle : 商品订单:P636315820321787520ACZ
         * OrderPrice : 6708
         * DeliverType : 1
         * PayMethod : 1
         */

        private String Id;
        private int PropertyId;
        private int HousesId;
        private int BuildsId;
        private int BuildRoomId;
        private String PropertyUserId;
        private String Address;
        private int UsersId;
        private String UserPhone;
        private String OrderTitle;
        private int OrderPrice;
        private String DeliverType;
        private String PayMethod;

        public String getId() {
            return Id;
        }

        public void setId(String Id) {
            this.Id = Id;
        }

        public int getPropertyId() {
            return PropertyId;
        }

        public void setPropertyId(int PropertyId) {
            this.PropertyId = PropertyId;
        }

        public int getHousesId() {
            return HousesId;
        }

        public void setHousesId(int HousesId) {
            this.HousesId = HousesId;
        }

        public int getBuildsId() {
            return BuildsId;
        }

        public void setBuildsId(int BuildsId) {
            this.BuildsId = BuildsId;
        }

        public int getBuildRoomId() {
            return BuildRoomId;
        }

        public void setBuildRoomId(int BuildRoomId) {
            this.BuildRoomId = BuildRoomId;
        }

        public String getPropertyUserId() {
            return PropertyUserId;
        }

        public void setPropertyUserId(String PropertyUserId) {
            this.PropertyUserId = PropertyUserId;
        }

        public String getAddress() {
            return Address;
        }

        public void setAddress(String Address) {
            this.Address = Address;
        }

        public int getUsersId() {
            return UsersId;
        }

        public void setUsersId(int UsersId) {
            this.UsersId = UsersId;
        }

        public String getUserPhone() {
            return UserPhone;
        }

        public void setUserPhone(String UserPhone) {
            this.UserPhone = UserPhone;
        }

        public String getOrderTitle() {
            return OrderTitle;
        }

        public void setOrderTitle(String OrderTitle) {
            this.OrderTitle = OrderTitle;
        }

        public int getOrderPrice() {
            return OrderPrice;
        }

        public void setOrderPrice(int OrderPrice) {
            this.OrderPrice = OrderPrice;
        }

        public String getDeliverType() {
            return DeliverType;
        }

        public void setDeliverType(String DeliverType) {
            this.DeliverType = DeliverType;
        }

        public String getPayMethod() {
            return PayMethod;
        }

        public void setPayMethod(String PayMethod) {
            this.PayMethod = PayMethod;
        }
    }

    public static class ParameterBean {
        /**
         * status : true
         * parameter : alipay_sdk=lokielse%2Fomnipay-alipay&app_id=2017042606980698&biz_content=%7B%22subject%22%3A%22%5Cu5546%5Cu54c1%5Cu8ba2%5Cu5355%3AP636315820321787520ACZ%22%2C%22out_trade_no%22%3A%22P636315820321787520ACZ%22%2C%22total_amount%22%3A6708%2C%22passback_params%22%3A%22QXBwXE1vZGVsc1xCdXNpbmVzc09yZGVy%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=JSON&method=alipay.trade.app.pay&notify_url=http%3A%2F%2Fgj.cn%2Fapp%2FalipayNotify&sign_type=RSA2&timestamp=2017-05-26+23%3A27%3A12&version=1.0&sign=d0ioXzOvuU8Wd9Sbn6vGrsIyrpQPmdmPwOpdgawlZH4UvqTYJp16i2TqOI2HsEY%2FAoqEzJIAnq9MfgyRWQtRSgsUh2C1qIDwGuzx6nJ5Rt9DacIS5%2FPeqZUAVECxisnOE8A73HRf1CZDpQjNRR0KNZiIkf9k5SwJOmMkPn7R9cuTfTmulu%2FUhRraQ%2BkXE9wLN8%2BVDUUcAXYMzo2U6Jz8UBLBn3lgaHm5g3O7dSZqq3dHlN0Vskbhwb5FRKE3hRn0Ek%2F14xTbkbyTzkIzWFcxE4BT0z%2B4U8BvgRwWqQUWle2vjtOYMg%2FZZbQ0cI2VAquMYW%2BQ%2FPWHihuccDTecj1jzw%3D%3D
         */

        private boolean status;
        private String parameter;

        public boolean isStatus() {
            return status;
        }

        public void setStatus(boolean status) {
            this.status = status;
        }

        public String getParameter() {
            return parameter;
        }

        public void setParameter(String parameter) {
            this.parameter = parameter;
        }
    }
}
